home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000…tember: Reference Library / Dev.CD Sep 00 RL Disk 1.toast / mac / What's New / • What was new 08⁄00 / Sample Code / Interapplication Comm / MoreOSL / MoreAppearance / MoreAppearance.h < prev   
Encoding:
C/C++ Source or Header  |  2000-06-23  |  2.2 KB  |  67 lines  |  [TEXT/CWIE]

  1. /*
  2.     File:        MoreAppearance.h
  3.  
  4.     Contains:    
  5.  
  6.     Written by:    Pete Gontier
  7.  
  8.     Copyright:    Copyright (c) 1998 Apple Computer, Inc., All Rights Reserved.
  9.  
  10.                 You may incorporate this Apple sample source code into your program(s) without
  11.                 restriction. This Apple sample source code has been provided "AS IS" and the
  12.                 responsibility for its operation is yours. You are not permitted to redistribute
  13.                 this Apple sample source code as "Apple sample source code" after having made
  14.                 changes. If you're going to re-distribute the source, we require that you make
  15.                 it clear in the source that the code was descended from Apple sample source
  16.                 code, but that you've made changes.
  17.  
  18.     Change History (most recent first):
  19.  
  20.          <3>     20/3/00    Quinn   Comment changes that I made in the implementation.
  21.          <2>    11/11/98    PCG     fix headers
  22.          <1>    11/10/98    PCG     first big re-org at behest of Quinn
  23.  
  24.     Old Change History (most recent first):
  25.  
  26.          <5>    10/11/98    Quinn   Convert "MorePrefix.h" to "MoreSetup.h".
  27.          <4>      9/4/98    PCG     #pragma export on
  28.          <3>      9/1/98    PCG     add theme drawing state functions
  29.          <2>     7/24/98    PCG        coddle linker (C++, CFM-68K)
  30.          <1>     6/16/98    PCG     initial checkin
  31. */
  32.  
  33. #pragma once
  34.  
  35. #include "MoreSetup.h"
  36.  
  37. #include <Appearance.h>
  38.  
  39. typedef struct MoreThemeDrawingStateTag *MoreThemeDrawingState;
  40.  
  41. #ifdef __cplusplus
  42.     extern "C" {
  43. #endif
  44.  
  45. #pragma import on // for clients
  46. #pragma export on // for building a library
  47.  
  48. pascal OSStatus        InitMoreAppearance                (void);
  49.  
  50. pascal Boolean        HaveAppearance                    (void);
  51. pascal Boolean        AppearanceInCompatibilityMode    (void);
  52. pascal long            GetAppearanceVersion            (void);
  53.     // The above routines now implicitly call InitMoreAppearance
  54.     // if you haven’t done so.
  55.  
  56. pascal OSStatus        MoreGetThemeDrawingState        (MoreThemeDrawingState *);
  57. pascal OSStatus        MoreNormalizeThemeDrawingState    (void);
  58. pascal OSStatus        MoreSetThemeDrawingState        (MoreThemeDrawingState, Boolean disposeNow);
  59. pascal OSStatus        MoreDisposeThemeDrawingState    (MoreThemeDrawingState);
  60.  
  61. #pragma import reset // for clients
  62. #pragma export reset // for building a library
  63.  
  64. #ifdef __cplusplus
  65.     }
  66. #endif
  67.